package com.gaojinqi.sys.modular.rbac.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author gaojinqi
 * @version 1.0
 * @since 2020年04月21日
 */
@Data
public class LoginVo {

    @ApiModelProperty(value = "用户名", required = true)
    @NotBlank(message = "请输入用户名")
    private String userName;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "请输入密码")
    private String password;

}
